package indi.yuluo.dao;

import indi.yuluo.entity.discussion.DiscussionLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: yuluo
 * @CreateTime: 2022-08-24  22:02
 * @Description: TODO
 */

@Mapper
public interface DiscussionLikeMapper {
    List<DiscussionLike> getInfoByUserId(Long uuid);

    Integer insertLikesStatus(@Param("uuid") Long uuid,
                              @Param("did") Long did);

    Integer deleteLikesStatus(Long did);

    void delBydId(Long did);
}
